package cn.com.haopy.yue.ai.core.enums;

/**
 * 支付状态
 * <p>
 * 0待支付，1支付成功，2申请退款，3退款成功
 */
public enum PayStatusCode {
    UNPAY(Short.valueOf("0"), "未支付"),
    PAYSUCCESS(Short.valueOf("1"), "已支付"),
    REFUNDING(Short.valueOf("2"), "退款中"),
    REFUND(Short.valueOf("3"), "已退款"),
    ;

    PayStatusCode(Short code, String name) {
        this.code = code;
        this.name = name;
    }

    private Short code;

    private String name;

    public Short getCode() {
        return code;
    }


    public String getName() {
        return name;
    }

}
